package com.lh.dao;

import com.lh.model.File;

/**
 * @Author LuoHang
 * @Date 2022-05-10 23:02
 **/
public interface FileDao {
    /**
     * upload
     * @param file file
     * @return file
     */
    int upload(File file);

    /**
     * getFileById
     * @param id id
     * @return file
     */
    File getFileById(Integer id);

    /**
     * deleteById
     * @param id id
     * @return int
     */
    int deleteById(Integer id);
}
